package com.ipzoe.file.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ipzoe.file.domain.FileInfoDO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author Eric
 * @date 2020/6/12
 */
public interface FileInfoDOService extends IService<FileInfoDO> {

    FileInfoDO upload(MultipartFile file, String folder);

    void delete(String id);
}

